package com.canyou.redmine.model;

import java.util.List;

/**
 * Created by user on 2018/1/5.
 */

public class Member {

    /**
     * id : 1585
     * project : {"id":121,"name":"核电2015"}
     * user : {"id":14,"name":"hhd 黄寒东"}
     * roles : [{"id":3,"name":"Manager","inherited":true}]
     */

    private int id;
    private Bean project;
    private Bean user;
    private List<Role> roles;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Bean getProject() {
        return project;
    }

    public void setProject(Bean project) {
        this.project = project;
    }

    public Bean getUser() {
        return user;
    }

    public void setUser(Bean user) {
        this.user = user;
    }

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }

}
